'use strict';

function collect_max_number(collection) {
  var a=collection.length;
  var c=collection;
  for(let i=0;i<a;i++){
    if(c[i]<c[i+1]){
       var temp=c[i+1];
    }
  }
console.log(temp);
return temp;  //在这里写入代码
}

module.exports = collect_max_number;
